package com.tong.hao.common.baomidou.ac.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 账单类型表
 * </p>
 *
 * @author 彤彤
 * @since 2020-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class AcBillCategory implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 账单类型编号
     */
    @TableId("bill_id")
    private String billId;

    /**
     * 上级账单类型编号(bill_id为顶级账单类型时,该字段没有值)
     */
    @TableField("bill_parent_id")
    private String billParentId;

    /**
     * 账单类型级别(数字越小,级别越大,从1开始递增)
     */
    @TableField("bill_level")
    private Integer billLevel;

    /**
     * 账单类别编号(bill_level为1时取值参见ac_bill_class.bill_id)
     */
    @TableField("bill_class")
    private String billClass;

    /**
     * 描述
     */
    @TableField("bill_desc")
    private String billDesc;

    /**
     * 是否有效(Y-有效;N-无效)
     */
    @TableField("bill_status")
    private String billStatus;


}
